package com.study.mybatisplus.base;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @Author: 张远志
 * @Date: 2020/5/15 15:45
 */

@Data
public class BaseEntity {
	/**
	 * 主键
	 */
	@TableId(value = "id", type = IdType.AUTO)
	private Long id;

	private Long createdBy;

	private LocalDateTime createdTime;

	private Long updatedBy;

	private LocalDateTime updatedTime;
}
